/**
 * Copyright ©2016-2022 tianyu education Corporation, All Rights Reserved
 * http://www.whty.com.cn/
 */
package profile.hujia.redis.dao.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import profile.hujia.redis.common.constant.ConfigAttributeConstant;

/**
 * class info
 *
 * @author hujia
 * @date 2019-12-24 11:08
 */
@Data
@Component
@ConfigurationProperties(prefix = ConfigAttributeConstant.JEDIS_COMMON_CONFIG_ATTRIBUTE_PREFIX)
public class JedisCommonConfigAttribute {
    private Integer maxIdle;
    private Integer maxWaitMillis;
    private Integer minIdle;
    private Integer maxTotal;
    private Integer timeout;
}